home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 1998 November / IRIX 6.5.2 Base Documentation November 1998.img / usr / share / catman / p_man / cat3s / puts.z / puts
Text File  |  1998-10-20  |  2KB  |  67 lines

  1.  
  2.  
  3.  
  4. PPPPUUUUTTTTSSSS((((3333SSSS))))                                                              PPPPUUUUTTTTSSSS((((3333SSSS))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      puts, fputs - put a string on a stream
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      ####iiiinnnncccclllluuuuddddeeee <<<<ssssttttddddiiiioooo....hhhh>>>>
  13.  
  14.      iiiinnnntttt ppppuuuuttttssss ((((ccccoooonnnnsssstttt cccchhhhaaaarrrr ****ssss))));;;;
  15.  
  16.      iiiinnnntttt ffffppppuuuuttttssss ((((ccccoooonnnnsssstttt cccchhhhaaaarrrr ****ssss,,,, FFFFIIIILLLLEEEE ****ssssttttrrrreeeeaaaammmm))));;;;
  17.  
  18. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  19.      _p_u_t_s writes the null-terminated string pointed to by _s ,followed by a
  20.      new-line character, to the standard output stream _s_t_d_o_u_t.
  21.  
  22.      _f_p_u_t_s writes the null-terminated string pointed to by _s to the named
  23.      output _s_t_r_e_a_m.
  24.  
  25.      Neither function writes the terminating null character.
  26.  
  27. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  28.      exit(2), lseek(2), write(2), abort(3C), fclose(3S), ferror(3S),
  29.      fopen(3S), fread(3S), printf(3S), putc(3S), stdio(3S).
  30.  
  31. DDDDIIIIAAAAGGGGNNNNOOOOSSSSTTTTIIIICCCCSSSS
  32.      On success both routines return the number of characters written;
  33.      otherwise they return EEEEOOOOFFFF.... This will happen if the routines try to write
  34.      on a file that has not been opened for writing.
  35.  
  36. NNNNOOOOTTTTEEEESSSS
  37.      _p_u_t_s appends a new-line character while _f_p_u_t_s does not.
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.